import net.sshiffon.logging.GroovySanitizingLogger;
import org.apache.log4j.Logger;

onNewInstance = { klass, type, instance ->
   instance.metaClass.logger = new GroovySanitizingLogger(Logger.getLogger("net.sshiffon.mvc.${klass.name}"))
}